import type { RouteRecordRaw } from 'vue-router'

// 路由规则
const routes: RouteRecordRaw[] = [
  {
    path: '/home',
    name: 'home',
    component: () => import('@/views/home/HomePage.vue')
  },
  {
    path: '/login',
    name: 'login',
    component: () => import('@/views/login/LoginPage.vue')
  },
  //待办工作
  {
    path: '/todoWork',
    name: 'todoWork',
    component: () => import('@/views/toDoDocument/todoWork/todoWork.vue')
  },
  //预警提醒
  {
    path: '/toDoWarning',
    name: 'toDoWarning',
    component: () => import('@/views/toDoDocument/toDoWarning/toDoWarning.vue')
  },
  //案件查询
  {
    path: '/caseInquiry',
    name: 'caseInquiry',
    component: () => import('@/views/queryDocument/caseInquiry/caseInquiry.vue')
  },
  //待办办理中
  {
    path: '/toDoHandle',
    name: 'toDoHandle',
    component: () => import('@/views/handleDocument/toDoHandle/toDoHandle.vue')
  }
  
]

export default routes

